package com.sdonkey.score.service.impl;



import com.sdonkey.score.bean.LoginReturnBean;
import com.sdonkey.score.dao.ITadvertiserDao;
import com.sdonkey.score.service.ILoginService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Date;

@Service("loginService")
public class LoginService implements ILoginService {

	@Resource
	private ITadvertiserDao loginDao;

	@Override
	public LoginReturnBean login(String memberName) {return loginDao.login(memberName);
	}
	
	@Override
	public void saveLoginLog(String donkey_num, Date login_time){
		loginDao.saveLoginLog(donkey_num, login_time);
	};

}
